<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/7/6
  Time: 11:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <title>地图练习</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <link rel="stylesheet" href="css/mymap.css">
<%--  LHHGlmhcb4ENvIXpR9QQ2tBYa6ooUowX  --%>
    <script src="https://api.map.baidu.com/api?type=webgl&v=1.0&ak=LHHGlmhcb4ENvIXpR9QQ2tBYa6ooUowX"></script>
</head>
<body>
<header>
    <label for="startStr">起点:<input type="text" placeholder="请输入起点" class="typein" id="startStr"/></label>
    <label for="endStr">终点:<input type="text" id="endStr" placeholder="请输入终点" class="typein"/></label>
    <input type="button" class="btn" id="result" value="查询" />
    <input type="submit" class="btn btn btn-primary" value="<返回" onclick="redirectToLoginPageExit()">
</header>
<div id="container"></div>
<%--<div id="3D"></div>--%>
<%--<button onclick="toggleSatellite()">切换卫星地图</button>--%>
</body>
</html>
<script>
    function redirectToLoginPageExit() {
        window.location.href = "list.jsp";
    }
</script>
<script src="js/mymap.js" ></script>